home *** CD-ROM | disk | FTP | other *** search
/ Apple WWDC 1996 / WWDC96_1996 (CD).toast / Technology Materials / MacOS 8 Resources / Developer Tools / Mac OS 8 Interfaces & Libraries / Interfaces / CIncludes / HIPanels.xh < prev    next >
Text File  |  1996-05-01  |  32KB  |  1,123 lines

  1.  
  2. /*
  3.  * This file was generated by the SOM Compiler.
  4.  * FileName: HIPanels.xh.
  5.  * Generated using:
  6.  *     SOM Precompiler somipc: 2.18
  7.  *     SOM Emitter emitxh.dll: 2.33
  8.  */
  9.  
  10. #ifndef SOM_HIPanel_xh
  11. #define SOM_HIPanel_xh
  12.  
  13. class HIPanel;
  14.  
  15. #define HIPanel_MajorVersion 0
  16. #define HIPanel_MinorVersion 0
  17.  
  18. /*
  19.  * Passthru lines: File: "C.xh", "before"
  20.  */
  21. #include <Collections.h>
  22. #include <Drag.h>
  23. #include <Quickdraw.h>
  24. #include <TextObjects.h>
  25. #include <Types.h>
  26. #include <HIPanelTypes.h>
  27.  
  28. /* C++ SOM defs */
  29. #include <somcls.xh>
  30. #include <somcm.xh>
  31.  
  32. /* C++ parent defs */
  33. #ifndef SOM_HIObject_xh
  34. #include <HIObjects.xh>
  35. #endif
  36.  
  37. #ifndef HIPanel_API
  38. #define HIPanel_API
  39. /*
  40.  * -- The Class API
  41.  */
  42.  
  43. /*
  44.  * Start of user-defined types:
  45.  */
  46. class SOMClass;
  47. class SOMObject;
  48. class HIWindow;
  49. class HIEmbeddingPanel;
  50.  
  51. /*
  52.  * End of user-defined types.
  53.  */
  54.  
  55. #ifdef OLDIBMSOMAPISUPPORT
  56. #define HIPanelCClassData HIPanelClassData
  57. #define HIPanelNewClass(major,minor) somNewVersionedClassReference(HIPanel,major,minor)
  58. #endif
  59.  
  60. /* define xxxMetaClass macro to facilitate (cls ## MetaClass) */
  61. #define HIPanelMetaClass SOMClass
  62.  
  63. #if PRAGMA_ALIGN_SUPPORTED
  64. #  pragma options align=power
  65. #endif
  66.  
  67. /* The API to the HIPanel class object, and the methods it introduces. */
  68. SOMEXTERN struct HIPanelClassDataStructure {
  69. #ifdef OLDIBMSOMAPISUPPORT
  70.     SOMClass            *classObject;    /* always zero, use somNewClassReference instead */
  71. #else
  72.     long zero;
  73. #endif
  74.     somStaticClassInfo *sci;
  75.     somDToken        instanceDataToken;
  76.     long reserved [3];
  77.     somMToken InitPanel;
  78.     somMToken GetEmbeddingParent;
  79.     somMToken RegisterInterestInAppleEvent;
  80.     somMToken SetAdornment;
  81.     somMToken GetAdornment;
  82.     somMToken HasValidContent;
  83.     somMToken GetDeepCollectionItemData;
  84.     somMToken reserved0;
  85.     somMToken reserved1;
  86.     somMToken reserved2;
  87.     somMToken reserved3;
  88.     somMToken reserved4;
  89. } SOMDLINK HIPanelClassData;
  90.  
  91. #if PRAGMA_ALIGN_SUPPORTED
  92. #  pragma options align=reset
  93. #endif
  94.  
  95. #if !defined(HIPanel_Class_Source) && !defined(SOM_Module_hipanels_Source)
  96. #if PRAGMA_IMPORT_SUPPORTED
  97. #pragma import list HIPanelClassData
  98. #endif
  99. #endif
  100.  
  101.  
  102. /*
  103.  * -- Typedefs for HIPanel Method Procedures
  104.  */
  105. SOMEXTERN {
  106. typedef HIEmbeddingPanel*   (* SOMLINK somTD_HIPanel_GetEmbeddingParent)(HIPanel *somSelf, Environment *ev);
  107. typedef OSStatus   (* SOMLINK somTD_HIPanel_InitPanel)(HIPanel *somSelf, Environment *ev,
  108.         RefLabel* identifier,
  109.         HIWindow* window,
  110.         Rect* bounds);
  111. typedef OSStatus   (* SOMLINK somTD_HIPanel_RegisterInterestInAppleEvent)(HIPanel *somSelf, Environment *ev,
  112.         AEHandlerTableRef table,
  113.         AEEventClass eventClass,
  114.         AEEventID eventID,
  115.         HIEventRoutingType eventRouting);
  116. typedef boolean   (* SOMLINK somTD_HIPanel_HasValidContent)(HIPanel *somSelf, Environment *ev);
  117. typedef OSStatus   (* SOMLINK somTD_HIPanel_GetDeepCollectionItemData)(HIPanel *somSelf, Environment *ev,
  118.         CollectionTag tag,
  119.         SInt32 id,
  120.         ByteCount sizeAllowed,
  121.         ByteCount* sizeReturned,
  122.         void* itemData);
  123.  
  124. /*
  125.  * -- Typedefs for Inherited Methods
  126.  */
  127. typedef HIWindow*   (* SOMLINK somTD_HIPanel_GetWindow)(HIPanel *somSelf, Environment *ev);
  128. typedef CGrafPtr   (* SOMLINK somTD_HIPanel_GetPort)(HIPanel *somSelf, Environment *ev);
  129. typedef void   (* SOMLINK somTD_HIPanel_GetRefLabel)(HIPanel *somSelf, Environment *ev,
  130.         RefLabel* identifier);
  131. typedef Collection   (* SOMLINK somTD_HIPanel_GetCollection)(HIPanel *somSelf, Environment *ev);
  132. typedef OSStatus   (* SOMLINK somTD_HIPanel_Init)(HIPanel *somSelf, Environment *ev,
  133.         RefLabel* identifier,
  134.         Rect* boundingRect);
  135. typedef void   (* SOMLINK somTD_HIPanel_Terminate)(HIPanel *somSelf, Environment *ev);
  136. typedef HIObject*   (* SOMLINK somTD_HIPanel_Clone)(HIPanel *somSelf, Environment *ev);
  137. typedef void   (* SOMLINK somTD_HIPanel_Release)(HIPanel *somSelf, Environment *ev);
  138. typedef ItemCount   (* SOMLINK somTD_HIPanel_GetOwnerCount)(HIPanel *somSelf, Environment *ev);
  139. typedef OSStatus   (* SOMLINK somTD_HIPanel_InitFromAERecord)(HIPanel *somSelf, Environment *ev,
  140.         AESubDesc* baseInitializerData,
  141.         AESubDesc* initializerDataForClass,
  142.         HIAERecordDataFormat dataFormat);
  143. typedef OSStatus   (* SOMLINK somTD_HIPanel_WriteToAERecord)(HIPanel *somSelf, Environment *ev,
  144.         AERecord* dataForSubclass,
  145.         AERecord* objectData,
  146.         HIAERecordDataFormat dataFormat);
  147. typedef void   (* SOMLINK somTD_HIPanel_CalculateOptimalSize)(HIPanel *somSelf, Environment *ev,
  148.         SInt16* optimalWidth,
  149.         SInt16* optimalHeight);
  150. typedef void   (* SOMLINK somTD_HIPanel_GetBoundingRect)(HIPanel *somSelf, Environment *ev,
  151.         HICoordinateSystem coordinate,
  152.         Rect* boundingRect);
  153. typedef void   (* SOMLINK somTD_HIPanel_SetBoundingRect)(HIPanel *somSelf, Environment *ev,
  154.         HICoordinateSystem coordinate,
  155.         Rect* newBoundingRect);
  156. typedef void   (* SOMLINK somTD_HIPanel_SetPosition)(HIPanel *somSelf, Environment *ev,
  157.         HICoordinateSystem coordinate,
  158.         Point* newPosition);
  159. typedef void   (* SOMLINK somTD_HIPanel_SetSize)(HIPanel *somSelf, Environment *ev,
  160.         SInt16 width,
  161.         SInt16 height);
  162. typedef void   (* SOMLINK somTD_HIPanel_GetUpdateRect)(HIPanel *somSelf, Environment *ev,
  163.         HICoordinateSystem coordinate,
  164.         Rect* updateRect);
  165. typedef void   (* SOMLINK somTD_HIPanel_Enable)(HIPanel *somSelf, Environment *ev);
  166. typedef void   (* SOMLINK somTD_HIPanel_Disable)(HIPanel *somSelf, Environment *ev);
  167. typedef boolean   (* SOMLINK somTD_HIPanel_IsEnabled)(HIPanel *somSelf, Environment *ev);
  168. typedef void   (* SOMLINK somTD_HIPanel_Show)(HIPanel *somSelf, Environment *ev);
  169. typedef void   (* SOMLINK somTD_HIPanel_Hide)(HIPanel *somSelf, Environment *ev);
  170. typedef boolean   (* SOMLINK somTD_HIPanel_IsVisible)(HIPanel *somSelf, Environment *ev);
  171. typedef OSStatus   (* SOMLINK somTD_HIPanel_HandleAppleEvent)(HIPanel *somSelf, Environment *ev,
  172.         AEEventClass eventClass,
  173.         AEEventID eventID,
  174.         AppleEvent* theEvent,
  175.         AppleEvent* reply,
  176.         AEHandlerTableRef handlerTableRef);
  177. typedef OSStatus   (* SOMLINK somTD_HIPanel_HandleActivate)(HIPanel *somSelf, Environment *ev,
  178.         AppleEvent* theEvent,
  179.         AppleEvent* reply,
  180.         AEHandlerTableRef handlerTableRef);
  181. typedef OSStatus   (* SOMLINK somTD_HIPanel_HandleDeactivate)(HIPanel *somSelf, Environment *ev,
  182.         AppleEvent* theEvent,
  183.         AppleEvent* reply,
  184.         AEHandlerTableRef handlerTableRef);
  185. typedef OSStatus   (* SOMLINK somTD_HIPanel_HandleNavigation)(HIPanel *somSelf, Environment *ev,
  186.         SInt8 key,
  187.         SInt8 keyCode,
  188.         EventModifiers modifiers,
  189.         AppleEvent* theEvent,
  190.         AppleEvent* reply,
  191.         AEHandlerTableRef handlerTableRef);
  192. typedef OSStatus   (* SOMLINK somTD_HIPanel_HandleMouseDownInContent)(HIPanel *somSelf, Environment *ev,
  193.         Point* portLocalWhere,
  194.         EventModifiers modifiers,
  195.         AppleEvent* theEvent,
  196.         AppleEvent* reply,
  197.         AEHandlerTableRef handlerTableRef);
  198. typedef OSStatus   (* SOMLINK somTD_HIPanel_HandleMouseMovedInContent)(HIPanel *somSelf, Environment *ev,
  199.         Point* portLocalWhere,
  200.         EventModifiers modifiers,
  201.         AppleEvent* theEvent,
  202.         AppleEvent* reply,
  203.         AEHandlerTableRef handlerTableRef);
  204. typedef OSStatus   (* SOMLINK somTD_HIPanel_HandleMouseStoppedMovingInContent)(HIPanel *somSelf, Environment *ev,
  205.         Point* portLocalWhere,
  206.         EventModifiers modifiers,
  207.         AppleEvent* theEvent,
  208.         AppleEvent* reply,
  209.         AEHandlerTableRef handlerTableRef);
  210. typedef OSStatus   (* SOMLINK somTD_HIPanel_HandleMouseUpInContent)(HIPanel *somSelf, Environment *ev,
  211.         Point* portLocalWhere,
  212.         EventModifiers modifiers,
  213.         AppleEvent* theEvent,
  214.         AppleEvent* reply,
  215.         AEHandlerTableRef handlerTableRef);
  216. typedef void   (* SOMLINK somTD_HIPanel_TakeUserInputFocus)(HIPanel *somSelf, Environment *ev);
  217. typedef void   (* SOMLINK somTD_HIPanel_ReleaseUserInputFocus)(HIPanel *somSelf, Environment *ev);
  218. typedef boolean   (* SOMLINK somTD_HIPanel_HasUserInputFocus)(HIPanel *somSelf, Environment *ev);
  219. typedef boolean   (* SOMLINK somTD_HIPanel_CanReleaseUserInputFocus)(HIPanel *somSelf, Environment *ev);
  220. typedef void   (* SOMLINK somTD_HIPanel_SetUserInputFocusFlags)(HIPanel *somSelf, Environment *ev,
  221.         HIUserInputFocusFlags flags);
  222. typedef HIUserInputFocusFlags   (* SOMLINK somTD_HIPanel_GetUserInputFocusFlags)(HIPanel *somSelf, Environment *ev);
  223. typedef OSStatus   (* SOMLINK somTD_HIPanel_SetTitle)(HIPanel *somSelf, Environment *ev,
  224.         ConstHIImageRef title,
  225.         HIAdoptionFlags disposalAdoptionFlags);
  226. typedef OSStatus   (* SOMLINK somTD_HIPanel_GetTitle)(HIPanel *somSelf, Environment *ev,
  227.         HIImageRef* title);
  228. typedef void   (* SOMLINK somTD_HIPanel_Draw)(HIPanel *somSelf, Environment *ev,
  229.         CGrafPtr whichPort,
  230.         RgnHandle drawRgn);
  231. typedef void   (* SOMLINK somTD_HIPanel_Erase)(HIPanel *somSelf, Environment *ev,
  232.         CGrafPtr whichPort,
  233.         RgnHandle eraseRgn);
  234. typedef void   (* SOMLINK somTD_HIPanel_Invalidate)(HIPanel *somSelf, Environment *ev);
  235. typedef HIDrawingMode   (* SOMLINK somTD_HIPanel_GetDrawingMode)(HIPanel *somSelf, Environment *ev);
  236. typedef void   (* SOMLINK somTD_HIPanel_SetDrawingMode)(HIPanel *somSelf, Environment *ev,
  237.         HIDrawingMode drawingMode);
  238. typedef void   (* SOMLINK somTD_HIPanel_SetBackgroundPattern)(HIPanel *somSelf, Environment *ev,
  239.         PixPatHandle backgroundPattern);
  240. typedef PixPatHandle   (* SOMLINK somTD_HIPanel_GetBackgroundPattern)(HIPanel *somSelf, Environment *ev);
  241. typedef void   (* SOMLINK somTD_HIPanel_Cut)(HIPanel *somSelf, Environment *ev);
  242. typedef void   (* SOMLINK somTD_HIPanel_Copy)(HIPanel *somSelf, Environment *ev);
  243. typedef void   (* SOMLINK somTD_HIPanel_Paste)(HIPanel *somSelf, Environment *ev);
  244. typedef void   (* SOMLINK somTD_HIPanel_Clear)(HIPanel *somSelf, Environment *ev);
  245. typedef HIClipboardSupportFlags   (* SOMLINK somTD_HIPanel_GetClipboardSupportFlags)(HIPanel *somSelf, Environment *ev);
  246. typedef OSStatus   (* SOMLINK somTD_HIPanel_AddStateChangeCallback)(HIPanel *somSelf, Environment *ev,
  247.         HIStateChangeCallbackProcPtr changedStateCallback,
  248.         HIStateChangeCallbackRef* newCallbackRef);
  249. typedef OSStatus   (* SOMLINK somTD_HIPanel_RemoveStateChangeCallback)(HIPanel *somSelf, Environment *ev,
  250.         HIStateChangeCallbackRef callbackRefToRemove);
  251. typedef OSStatus   (* SOMLINK somTD_HIPanel_GetHIObjectFromRefLabel)(Environment *ev,
  252.         RefLabel* identifier,
  253.         ItemCount requestedObjects,
  254.         ItemCount* totalObjects,
  255.         HIObject** theObjects);
  256. typedef OSStatus   (* SOMLINK somTD_HIPanel_GetNewHIObject)(Environment *ev,
  257.         AESubDesc* objectInitializer,
  258.         HIObject** newObject);
  259. typedef OSStatus   (* SOMLINK somTD_HIPanel_GetNewHIObjectFromResource)(Environment *ev,
  260.         ResID objectInitializerResourceID,
  261.         HIObject** newObject);
  262. typedef void   (* SOMLINK somTD_HIPanel_DrawContent)(HIPanel *somSelf, Environment *ev,
  263.         CGrafPtr whichPort,
  264.         RgnHandle drawRgn);
  265. typedef void   (* SOMLINK somTD_HIPanel_EraseContent)(HIPanel *somSelf, Environment *ev,
  266.         CGrafPtr whichPort,
  267.         RgnHandle regionToErase);
  268. typedef void   (* SOMLINK somTD_HIPanel_TranslatePoint)(HIPanel *somSelf, Environment *ev,
  269.         HICoordinateSystem translateFrom,
  270.         HICoordinateSystem translateTo,
  271.         Point* sourcePoint,
  272.         Point* translatedPoint);
  273. typedef void   (* SOMLINK somTD_HIPanel_TranslateRect)(HIPanel *somSelf, Environment *ev,
  274.         HICoordinateSystem translateFrom,
  275.         HICoordinateSystem translateTo,
  276.         Rect* sourceRect,
  277.         Rect* translatedRect);
  278. typedef void   (* SOMLINK somTD_HIPanel_StateChanged)(HIPanel *somSelf, Environment *ev,
  279.         HIStateChangeCodeCreator selectorCreator,
  280.         HIStateChangeCode changedCode);
  281. typedef void   (* SOMLINK somTD_HIPanel_SetClipboardSupportFlags)(HIPanel *somSelf, Environment *ev,
  282.         HIClipboardSupportFlags flags);
  283. typedef OSStatus   (* SOMLINK somTD_HIPanel_Verify)(HIPanel *somSelf, Environment *ev);
  284. typedef void   (* SOMLINK somTD_HIPanel_somInit)(HIPanel *somSelf);
  285. typedef void   (* SOMLINK somTD_HIPanel_somUninit)(HIPanel *somSelf);
  286. typedef SOMObject*   (* SOMLINK somTD_HIPanel_somDuplicateReference)(HIPanel *somSelf);
  287. typedef boolean   (* SOMLINK somTD_HIPanel_somCompareReference)(HIPanel *somSelf,
  288.         SOMObject* anObject);
  289. typedef SOMObject*   (* SOMLINK somTD_HIPanel_somRelease)(HIPanel *somSelf);
  290. typedef void   (* SOMLINK somTD_HIPanel_somFree)(HIPanel *somSelf);
  291. typedef boolean   (* SOMLINK somTD_HIPanel_somCanDelete)(HIPanel *somSelf);
  292. typedef SOMClass*   (* SOMLINK somTD_HIPanel_somGetClass)(HIPanel *somSelf);
  293. typedef corbastring   (* SOMLINK somTD_HIPanel_somGetClassName)(HIPanel *somSelf);
  294. typedef long   (* SOMLINK somTD_HIPanel_somGetSize)(HIPanel *somSelf);
  295. typedef boolean   (* SOMLINK somTD_HIPanel_somIsA)(HIPanel *somSelf,
  296.         SOMClass* aClassObj);
  297. typedef boolean   (* SOMLINK somTD_HIPanel_somRespondsTo)(HIPanel *somSelf,
  298.         somId mId);
  299. typedef boolean   (* SOMLINK somTD_HIPanel_somIsInstanceOf)(HIPanel *somSelf,
  300.         SOMClass* aClassObj);
  301. typedef boolean   (* SOMLINK somTD_HIPanel_somDispatch)(HIPanel *somSelf,
  302.         somToken* retValue,
  303.         somId methodId,
  304.         va_list ap);
  305. typedef boolean   (* SOMLINK somTD_HIPanel_somClassDispatch)(HIPanel *somSelf,
  306.         SOMClass* clsObj,
  307.         somToken* retValue,
  308.         somId methodId,
  309.         va_list ap);
  310. typedef boolean   (* SOMLINK somTD_HIPanel_somCastObj)(HIPanel *somSelf,
  311.         SOMClass* cls);
  312. typedef boolean   (* SOMLINK somTD_HIPanel_somResetObj)(HIPanel *somSelf);
  313. typedef SOMObject*   (* SOMLINK somTD_HIPanel_somPrintSelf)(HIPanel *somSelf);
  314. typedef void   (* SOMLINK somTD_HIPanel_somDumpSelf)(HIPanel *somSelf,
  315.         long level);
  316. typedef void   (* SOMLINK somTD_HIPanel_somDumpSelfInt)(HIPanel *somSelf,
  317.         long level);
  318. }
  319.  
  320. #endif /* HIPanel_API */
  321.  
  322.  
  323. /*
  324.  * -- This emitter treats Method Tokens as Thunks by default.
  325.  * -- Use the sc modifier "nothunks" to change this default
  326.  */
  327. #undef somresolve_
  328. #define somresolve_(obj,mToken) ((somMethodProc*)((void)obj, mToken))
  329.  
  330. /*
  331.  * -- The C++ Wrapper Class for HIPanel
  332.  */
  333. class HIPanel : public HIObject
  334. {
  335. public:
  336.  
  337. // HIPanel::new registers use of the class object, and then uses somNew
  338. // to allocate memory and load the object method table pointer. 
  339. void *operator new(size_t size)
  340. {
  341.     SOM_IgnoreWarning(size);
  342.     // Allocate memory using the default allocator for HIPanel, and
  343.     // clear mem & set method table pointer, call basic initialization
  344.     return (void*) somNewObject(HIPanel);
  345. }
  346.  
  347. // HIPanel::delete uses the default deallocator for the object's class.
  348. void operator delete(void * obj)
  349. {
  350.     if (obj) {
  351.         SOM_Resolve(obj,SOMObject,somFree)
  352.            ( (SOMObject*) obj );
  353.     }
  354. }
  355.  
  356. /* method: GetEmbeddingParent */
  357. HIEmbeddingPanel*   GetEmbeddingParent(Environment *ev)
  358. {
  359.    return SOM_ResolveD(this,HIPanel,HIPanel,GetEmbeddingParent)
  360.     (this,ev);
  361. }
  362.  
  363. /* method: InitPanel */
  364. OSStatus   InitPanel(Environment *ev,
  365.         RefLabel* identifier,
  366.         HIWindow* window,
  367.         Rect* bounds)
  368. {
  369.    return SOM_ResolveD(this,HIPanel,HIPanel,InitPanel)
  370.     (this,ev,identifier,window,bounds);
  371. }
  372.  
  373. /* method: RegisterInterestInAppleEvent */
  374. OSStatus   RegisterInterestInAppleEvent(Environment *ev,
  375.         AEHandlerTableRef table,
  376.         AEEventClass eventClass,
  377.         AEEventID eventID,
  378.         HIEventRoutingType eventRouting)
  379. {
  380.    return SOM_ResolveD(this,HIPanel,HIPanel,RegisterInterestInAppleEvent)
  381.     (this,ev,table,eventClass,eventID,eventRouting);
  382. }
  383.  
  384. /* method: HasValidContent */
  385. boolean   HasValidContent(Environment *ev)
  386. {
  387.    return SOM_ResolveD(this,HIPanel,HIPanel,HasValidContent)
  388.     (this,ev);
  389. }
  390.  
  391. /* method: GetDeepCollectionItemData */
  392. OSStatus   GetDeepCollectionItemData(Environment *ev,
  393.         CollectionTag tag,
  394.         SInt32 id,
  395.         ByteCount sizeAllowed,
  396.         ByteCount* sizeReturned,
  397.         void* itemData)
  398. {
  399.    return SOM_ResolveD(this,HIPanel,HIPanel,GetDeepCollectionItemData)
  400.     (this,ev,tag,id,sizeAllowed,sizeReturned,itemData);
  401. }
  402.  
  403.  
  404. /*
  405.  * -- Inherited methods
  406.  */
  407. /* method: GetWindow */
  408. HIWindow*   GetWindow(Environment *ev)
  409. {
  410.    return SOM_ResolveD(this,HIPanel,HIObject,GetWindow)
  411.     (this,ev);
  412. }
  413.  
  414. /* method: GetPort */
  415. CGrafPtr   GetPort(Environment *ev)
  416. {
  417.    return SOM_ResolveD(this,HIPanel,HIObject,GetPort)
  418.     (this,ev);
  419. }
  420.  
  421. /* method: GetRefLabel */
  422. void   GetRefLabel(Environment *ev,
  423.         RefLabel* identifier)
  424. {
  425.    SOM_ResolveD(this,HIPanel,HIObject,GetRefLabel)
  426.     (this,ev,identifier);
  427. }
  428.  
  429. /* method: GetCollection */
  430. Collection   GetCollection(Environment *ev)
  431. {
  432.    return SOM_ResolveD(this,HIPanel,HIObject,GetCollection)
  433.     (this,ev);
  434. }
  435.  
  436. /* method: Init */
  437. OSStatus   Init(Environment *ev,
  438.         RefLabel* identifier,
  439.         Rect* boundingRect)
  440. {
  441.    return SOM_ResolveD(this,HIPanel,HIObject,Init)
  442.     (this,ev,identifier,boundingRect);
  443. }
  444.  
  445. /* method: Terminate */
  446. void   Terminate(Environment *ev)
  447. {
  448.    SOM_ResolveD(this,HIPanel,HIObject,Terminate)
  449.     (this,ev);
  450. }
  451.  
  452. /* method: Clone */
  453. HIObject*   Clone(Environment *ev)
  454. {
  455.    return SOM_ResolveD(this,HIPanel,HIObject,Clone)
  456.     (this,ev);
  457. }
  458.  
  459. /* method: Release */
  460. void   Release(Environment *ev)
  461. {
  462.    SOM_ResolveD(this,HIPanel,HIObject,Release)
  463.     (this,ev);
  464. }
  465.  
  466. /* method: GetOwnerCount */
  467. ItemCount   GetOwnerCount(Environment *ev)
  468. {
  469.    return SOM_ResolveD(this,HIPanel,HIObject,GetOwnerCount)
  470.     (this,ev);
  471. }
  472.  
  473. /* method: InitFromAERecord */
  474. OSStatus   InitFromAERecord(Environment *ev,
  475.         AESubDesc* baseInitializerData,
  476.         AESubDesc* initializerDataForClass,
  477.         HIAERecordDataFormat dataFormat)
  478. {
  479.    return SOM_ResolveD(this,HIPanel,HIObject,InitFromAERecord)
  480.     (this,ev,baseInitializerData,initializerDataForClass,dataFormat);
  481. }
  482.  
  483. /* method: WriteToAERecord */
  484. OSStatus   WriteToAERecord(Environment *ev,
  485.         AERecord* dataForSubclass,
  486.         AERecord* objectData,
  487.         HIAERecordDataFormat dataFormat)
  488. {
  489.    return SOM_ResolveD(this,HIPanel,HIObject,WriteToAERecord)
  490.     (this,ev,dataForSubclass,objectData,dataFormat);
  491. }
  492.  
  493. /* method: CalculateOptimalSize */
  494. void   CalculateOptimalSize(Environment *ev,
  495.         SInt16* optimalWidth,
  496.         SInt16* optimalHeight)
  497. {
  498.    SOM_ResolveD(this,HIPanel,HIObject,CalculateOptimalSize)
  499.     (this,ev,optimalWidth,optimalHeight);
  500. }
  501.  
  502. /* method: GetBoundingRect */
  503. void   GetBoundingRect(Environment *ev,
  504.         HICoordinateSystem coordinate,
  505.         Rect* boundingRect)
  506. {
  507.    SOM_ResolveD(this,HIPanel,HIObject,GetBoundingRect)
  508.     (this,ev,coordinate,boundingRect);
  509. }
  510.  
  511. /* method: SetBoundingRect */
  512. void   SetBoundingRect(Environment *ev,
  513.         HICoordinateSystem coordinate,
  514.         Rect* newBoundingRect)
  515. {
  516.    SOM_ResolveD(this,HIPanel,HIObject,SetBoundingRect)
  517.     (this,ev,coordinate,newBoundingRect);
  518. }
  519.  
  520. /* method: SetPosition */
  521. void   SetPosition(Environment *ev,
  522.         HICoordinateSystem coordinate,
  523.         Point* newPosition)
  524. {
  525.    SOM_ResolveD(this,HIPanel,HIObject,SetPosition)
  526.     (this,ev,coordinate,newPosition);
  527. }
  528.  
  529. /* method: SetSize */
  530. void   SetSize(Environment *ev,
  531.         SInt16 width,
  532.         SInt16 height)
  533. {
  534.    SOM_ResolveD(this,HIPanel,HIObject,SetSize)
  535.     (this,ev,width,height);
  536. }
  537.  
  538. /* method: GetUpdateRect */
  539. void   GetUpdateRect(Environment *ev,
  540.         HICoordinateSystem coordinate,
  541.         Rect* updateRect)
  542. {
  543.    SOM_ResolveD(this,HIPanel,HIObject,GetUpdateRect)
  544.     (this,ev,coordinate,updateRect);
  545. }
  546.  
  547. /* method: Enable */
  548. void   Enable(Environment *ev)
  549. {
  550.    SOM_ResolveD(this,HIPanel,HIObject,Enable)
  551.     (this,ev);
  552. }
  553.  
  554. /* method: Disable */
  555. void   Disable(Environment *ev)
  556. {
  557.    SOM_ResolveD(this,HIPanel,HIObject,Disable)
  558.     (this,ev);
  559. }
  560.  
  561. /* method: IsEnabled */
  562. boolean   IsEnabled(Environment *ev)
  563. {
  564.    return SOM_ResolveD(this,HIPanel,HIObject,IsEnabled)
  565.     (this,ev);
  566. }
  567.  
  568. /* method: Show */
  569. void   Show(Environment *ev)
  570. {
  571.    SOM_ResolveD(this,HIPanel,HIObject,Show)
  572.     (this,ev);
  573. }
  574.  
  575. /* method: Hide */
  576. void   Hide(Environment *ev)
  577. {
  578.    SOM_ResolveD(this,HIPanel,HIObject,Hide)
  579.     (this,ev);
  580. }
  581.  
  582. /* method: IsVisible */
  583. boolean   IsVisible(Environment *ev)
  584. {
  585.    return SOM_ResolveD(this,HIPanel,HIObject,IsVisible)
  586.     (this,ev);
  587. }
  588.  
  589. /* method: HandleAppleEvent */
  590. OSStatus   HandleAppleEvent(Environment *ev,
  591.         AEEventClass eventClass,
  592.         AEEventID eventID,
  593.         AppleEvent* theEvent,
  594.         AppleEvent* reply,
  595.         AEHandlerTableRef handlerTableRef)
  596. {
  597.    return SOM_ResolveD(this,HIPanel,HIObject,HandleAppleEvent)
  598.     (this,ev,eventClass,eventID,theEvent,reply,handlerTableRef);
  599. }
  600.  
  601. /* method: HandleActivate */
  602. OSStatus   HandleActivate(Environment *ev,
  603.         AppleEvent* theEvent,
  604.         AppleEvent* reply,
  605.         AEHandlerTableRef handlerTableRef)
  606. {
  607.    return SOM_ResolveD(this,HIPanel,HIObject,HandleActivate)
  608.     (this,ev,theEvent,reply,handlerTableRef);
  609. }
  610.  
  611. /* method: HandleDeactivate */
  612. OSStatus   HandleDeactivate(Environment *ev,
  613.         AppleEvent* theEvent,
  614.         AppleEvent* reply,
  615.         AEHandlerTableRef handlerTableRef)
  616. {
  617.    return SOM_ResolveD(this,HIPanel,HIObject,HandleDeactivate)
  618.     (this,ev,theEvent,reply,handlerTableRef);
  619. }
  620.  
  621. /* method: HandleNavigation */
  622. OSStatus   HandleNavigation(Environment *ev,
  623.         SInt8 key,
  624.         SInt8 keyCode,
  625.         EventModifiers modifiers,
  626.         AppleEvent* theEvent,
  627.         AppleEvent* reply,
  628.         AEHandlerTableRef handlerTableRef)
  629. {
  630.    return SOM_ResolveD(this,HIPanel,HIObject,HandleNavigation)
  631.     (this,ev,key,keyCode,modifiers,theEvent,reply,handlerTableRef);
  632. }
  633.  
  634. /* method: HandleMouseDownInContent */
  635. OSStatus   HandleMouseDownInContent(Environment *ev,
  636.         Point* portLocalWhere,
  637.         EventModifiers modifiers,
  638.         AppleEvent* theEvent,
  639.         AppleEvent* reply,
  640.         AEHandlerTableRef handlerTableRef)
  641. {
  642.    return SOM_ResolveD(this,HIPanel,HIObject,HandleMouseDownInContent)
  643.     (this,ev,portLocalWhere,modifiers,theEvent,reply,handlerTableRef);
  644. }
  645.  
  646. /* method: HandleMouseMovedInContent */
  647. OSStatus   HandleMouseMovedInContent(Environment *ev,
  648.         Point* portLocalWhere,
  649.         EventModifiers modifiers,
  650.         AppleEvent* theEvent,
  651.         AppleEvent* reply,
  652.         AEHandlerTableRef handlerTableRef)
  653. {
  654.    return SOM_ResolveD(this,HIPanel,HIObject,HandleMouseMovedInContent)
  655.     (this,ev,portLocalWhere,modifiers,theEvent,reply,handlerTableRef);
  656. }
  657.  
  658. /* method: HandleMouseStoppedMovingInContent */
  659. OSStatus   HandleMouseStoppedMovingInContent(Environment *ev,
  660.         Point* portLocalWhere,
  661.         EventModifiers modifiers,
  662.         AppleEvent* theEvent,
  663.         AppleEvent* reply,
  664.         AEHandlerTableRef handlerTableRef)
  665. {
  666.    return SOM_ResolveD(this,HIPanel,HIObject,HandleMouseStoppedMovingInContent)
  667.     (this,ev,portLocalWhere,modifiers,theEvent,reply,handlerTableRef);
  668. }
  669.  
  670. /* method: HandleMouseUpInContent */
  671. OSStatus   HandleMouseUpInContent(Environment *ev,
  672.         Point* portLocalWhere,
  673.         EventModifiers modifiers,
  674.         AppleEvent* theEvent,
  675.         AppleEvent* reply,
  676.         AEHandlerTableRef handlerTableRef)
  677. {
  678.    return SOM_ResolveD(this,HIPanel,HIObject,HandleMouseUpInContent)
  679.     (this,ev,portLocalWhere,modifiers,theEvent,reply,handlerTableRef);
  680. }
  681.  
  682. /* method: TakeUserInputFocus */
  683. void   TakeUserInputFocus(Environment *ev)
  684. {
  685.    SOM_ResolveD(this,HIPanel,HIObject,TakeUserInputFocus)
  686.     (this,ev);
  687. }
  688.  
  689. /* method: ReleaseUserInputFocus */
  690. void   ReleaseUserInputFocus(Environment *ev)
  691. {
  692.    SOM_ResolveD(this,HIPanel,HIObject,ReleaseUserInputFocus)
  693.     (this,ev);
  694. }
  695.  
  696. /* method: HasUserInputFocus */
  697. boolean   HasUserInputFocus(Environment *ev)
  698. {
  699.    return SOM_ResolveD(this,HIPanel,HIObject,HasUserInputFocus)
  700.     (this,ev);
  701. }
  702.  
  703. /* method: CanReleaseUserInputFocus */
  704. boolean   CanReleaseUserInputFocus(Environment *ev)
  705. {
  706.    return SOM_ResolveD(this,HIPanel,HIObject,CanReleaseUserInputFocus)
  707.     (this,ev);
  708. }
  709.  
  710. /* method: SetUserInputFocusFlags */
  711. void   SetUserInputFocusFlags(Environment *ev,
  712.         HIUserInputFocusFlags flags)
  713. {
  714.    SOM_ResolveD(this,HIPanel,HIObject,SetUserInputFocusFlags)
  715.     (this,ev,flags);
  716. }
  717.  
  718. /* method: GetUserInputFocusFlags */
  719. HIUserInputFocusFlags   GetUserInputFocusFlags(Environment *ev)
  720. {
  721.    return SOM_ResolveD(this,HIPanel,HIObject,GetUserInputFocusFlags)
  722.     (this,ev);
  723. }
  724.  
  725. /* method: SetTitle */
  726. OSStatus   SetTitle(Environment *ev,
  727.         ConstHIImageRef title,
  728.         HIAdoptionFlags disposalAdoptionFlags)
  729. {
  730.    return SOM_ResolveD(this,HIPanel,HIObject,SetTitle)
  731.     (this,ev,title,disposalAdoptionFlags);
  732. }
  733.  
  734. /* method: GetTitle */
  735. OSStatus   GetTitle(Environment *ev,
  736.         HIImageRef* title)
  737. {
  738.    return SOM_ResolveD(this,HIPanel,HIObject,GetTitle)
  739.     (this,ev,title);
  740. }
  741.  
  742. /* method: Draw */
  743. void   Draw(Environment *ev,
  744.         CGrafPtr whichPort,
  745.         RgnHandle drawRgn)
  746. {
  747.    SOM_ResolveD(this,HIPanel,HIObject,Draw)
  748.     (this,ev,whichPort,drawRgn);
  749. }
  750.  
  751. /* method: Erase */
  752. void   Erase(Environment *ev,
  753.         CGrafPtr whichPort,
  754.         RgnHandle eraseRgn)
  755. {
  756.    SOM_ResolveD(this,HIPanel,HIObject,Erase)
  757.     (this,ev,whichPort,eraseRgn);
  758. }
  759.  
  760. /* method: Invalidate */
  761. void   Invalidate(Environment *ev)
  762. {
  763.    SOM_ResolveD(this,HIPanel,HIObject,Invalidate)
  764.     (this,ev);
  765. }
  766.  
  767. /* method: GetDrawingMode */
  768. HIDrawingMode   GetDrawingMode(Environment *ev)
  769. {
  770.    return SOM_ResolveD(this,HIPanel,HIObject,GetDrawingMode)
  771.     (this,ev);
  772. }
  773.  
  774. /* method: SetDrawingMode */
  775. void   SetDrawingMode(Environment *ev,
  776.         HIDrawingMode drawingMode)
  777. {
  778.    SOM_ResolveD(this,HIPanel,HIObject,SetDrawingMode)
  779.     (this,ev,drawingMode);
  780. }
  781.  
  782. /* method: SetBackgroundPattern */
  783. void   SetBackgroundPattern(Environment *ev,
  784.         PixPatHandle backgroundPattern)
  785. {
  786.    SOM_ResolveD(this,HIPanel,HIObject,SetBackgroundPattern)
  787.     (this,ev,backgroundPattern);
  788. }
  789.  
  790. /* method: GetBackgroundPattern */
  791. PixPatHandle   GetBackgroundPattern(Environment *ev)
  792. {
  793.    return SOM_ResolveD(this,HIPanel,HIObject,GetBackgroundPattern)
  794.     (this,ev);
  795. }
  796.  
  797. /* method: Cut */
  798. void   Cut(Environment *ev)
  799. {
  800.    SOM_ResolveD(this,HIPanel,HIObject,Cut)
  801.     (this,ev);
  802. }
  803.  
  804. /* method: Copy */
  805. void   Copy(Environment *ev)
  806. {
  807.    SOM_ResolveD(this,HIPanel,HIObject,Copy)
  808.     (this,ev);
  809. }
  810.  
  811. /* method: Paste */
  812. void   Paste(Environment *ev)
  813. {
  814.    SOM_ResolveD(this,HIPanel,HIObject,Paste)
  815.     (this,ev);
  816. }
  817.  
  818. /* method: Clear */
  819. void   Clear(Environment *ev)
  820. {
  821.    SOM_ResolveD(this,HIPanel,HIObject,Clear)
  822.     (this,ev);
  823. }
  824.  
  825. /* method: GetClipboardSupportFlags */
  826. HIClipboardSupportFlags   GetClipboardSupportFlags(Environment *ev)
  827. {
  828.    return SOM_ResolveD(this,HIPanel,HIObject,GetClipboardSupportFlags)
  829.     (this,ev);
  830. }
  831.  
  832. /* method: AddStateChangeCallback */
  833. OSStatus   AddStateChangeCallback(Environment *ev,
  834.         HIStateChangeCallbackProcPtr changedStateCallback,
  835.         HIStateChangeCallbackRef* newCallbackRef)
  836. {
  837.    return SOM_ResolveD(this,HIPanel,HIObject,AddStateChangeCallback)
  838.     (this,ev,changedStateCallback,newCallbackRef);
  839. }
  840.  
  841. /* method: RemoveStateChangeCallback */
  842. OSStatus   RemoveStateChangeCallback(Environment *ev,
  843.         HIStateChangeCallbackRef callbackRefToRemove)
  844. {
  845.    return SOM_ResolveD(this,HIPanel,HIObject,RemoveStateChangeCallback)
  846.     (this,ev,callbackRefToRemove);
  847. }
  848.  
  849. /* noself procedure: GetHIObjectFromRefLabel */
  850. static OSStatus   GetHIObjectFromRefLabel(Environment *ev,
  851.         RefLabel* identifier,
  852.         ItemCount requestedObjects,
  853.         ItemCount* totalObjects,
  854.         HIObject** theObjects)
  855. {
  856. return ((somTD_HIPanel_GetHIObjectFromRefLabel)HIObjectClassData.GetHIObjectFromRefLabel)
  857.     (ev,identifier,requestedObjects,totalObjects,theObjects);
  858. }
  859.  
  860. /* noself procedure: GetNewHIObject */
  861. static OSStatus   GetNewHIObject(Environment *ev,
  862.         AESubDesc* objectInitializer,
  863.         HIObject** newObject)
  864. {
  865. return ((somTD_HIPanel_GetNewHIObject)HIObjectClassData.GetNewHIObject)
  866.     (ev,objectInitializer,newObject);
  867. }
  868.  
  869. /* noself procedure: GetNewHIObjectFromResource */
  870. static OSStatus   GetNewHIObjectFromResource(Environment *ev,
  871.         ResID objectInitializerResourceID,
  872.         HIObject** newObject)
  873. {
  874. return ((somTD_HIPanel_GetNewHIObjectFromResource)HIObjectClassData.GetNewHIObjectFromResource)
  875.     (ev,objectInitializerResourceID,newObject);
  876. }
  877.  
  878. /* method: DrawContent */
  879. void   DrawContent(Environment *ev,
  880.         CGrafPtr whichPort,
  881.         RgnHandle drawRgn)
  882. {
  883.    SOM_ResolveD(this,HIPanel,HIObject,DrawContent)
  884.     (this,ev,whichPort,drawRgn);
  885. }
  886.  
  887. /* method: EraseContent */
  888. void   EraseContent(Environment *ev,
  889.         CGrafPtr whichPort,
  890.         RgnHandle regionToErase)
  891. {
  892.    SOM_ResolveD(this,HIPanel,HIObject,EraseContent)
  893.     (this,ev,whichPort,regionToErase);
  894. }
  895.  
  896. /* method: TranslatePoint */
  897. void   TranslatePoint(Environment *ev,
  898.         HICoordinateSystem translateFrom,
  899.         HICoordinateSystem translateTo,
  900.         Point* sourcePoint,
  901.         Point* translatedPoint)
  902. {
  903.    SOM_ResolveD(this,HIPanel,HIObject,TranslatePoint)
  904.     (this,ev,translateFrom,translateTo,sourcePoint,translatedPoint);
  905. }
  906.  
  907. /* method: TranslateRect */
  908. void   TranslateRect(Environment *ev,
  909.         HICoordinateSystem translateFrom,
  910.         HICoordinateSystem translateTo,
  911.         Rect* sourceRect,
  912.         Rect* translatedRect)
  913. {
  914.    SOM_ResolveD(this,HIPanel,HIObject,TranslateRect)
  915.     (this,ev,translateFrom,translateTo,sourceRect,translatedRect);
  916. }
  917.  
  918. /* method: StateChanged */
  919. void   StateChanged(Environment *ev,
  920.         HIStateChangeCodeCreator selectorCreator,
  921.         HIStateChangeCode changedCode)
  922. {
  923.    SOM_ResolveD(this,HIPanel,HIObject,StateChanged)
  924.     (this,ev,selectorCreator,changedCode);
  925. }
  926.  
  927. /* method: SetClipboardSupportFlags */
  928. void   SetClipboardSupportFlags(Environment *ev,
  929.         HIClipboardSupportFlags flags)
  930. {
  931.    SOM_ResolveD(this,HIPanel,HIObject,SetClipboardSupportFlags)
  932.     (this,ev,flags);
  933. }
  934.  
  935. /* method: Verify */
  936. OSStatus   Verify(Environment *ev)
  937. {
  938.    return SOM_ResolveD(this,HIPanel,HIObject,Verify)
  939.     (this,ev);
  940. }
  941.  
  942. /* method: somInit */
  943. void   somInit()
  944. {
  945.    SOM_ResolveD(this,HIPanel,SOMObject,somInit)
  946.     (this);
  947. }
  948.  
  949. /* method: somUninit */
  950. void   somUninit()
  951. {
  952.    SOM_ResolveD(this,HIPanel,SOMObject,somUninit)
  953.     (this);
  954. }
  955.  
  956. /* method: somDuplicateReference */
  957. SOMObject*   somDuplicateReference()
  958. {
  959.    return SOM_ResolveD(this,HIPanel,SOMObject,somDuplicateReference)
  960.     (this);
  961. }
  962.  
  963. /* method: somCompareReference */
  964. boolean   somCompareReference(SOMObject* anObject)
  965. {
  966.    return SOM_ResolveD(this,HIPanel,SOMObject,somCompareReference)
  967.     (this,anObject);
  968. }
  969.  
  970. /* method: somRelease */
  971. SOMObject*   somRelease()
  972. {
  973.    return SOM_ResolveD(this,HIPanel,SOMObject,somRelease)
  974.     (this);
  975. }
  976.  
  977. /* method: somFree */
  978. void   somFree()
  979. {
  980.    SOM_ResolveD(this,HIPanel,SOMObject,somFree)
  981.     (this);
  982. }
  983.  
  984. /* method: somCanDelete */
  985. boolean   somCanDelete()
  986. {
  987.    return SOM_ResolveD(this,HIPanel,SOMObject,somCanDelete)
  988.     (this);
  989. }
  990.  
  991. /* method: somGetClass */
  992. SOMClass*   somGetClass()
  993. {
  994.    return SOM_ResolveD(this,HIPanel,SOMObject,somGetClass)
  995.     (this);
  996. }
  997.  
  998. /* method: somGetClassName */
  999. corbastring   somGetClassName()
  1000. {
  1001.    return SOM_ResolveD(this,HIPanel,SOMObject,somGetClassName)
  1002.     (this);
  1003. }
  1004.  
  1005. /* method: somGetSize */
  1006. long   somGetSize()
  1007. {
  1008.    return SOM_ResolveD(this,HIPanel,SOMObject,somGetSize)
  1009.     (this);
  1010. }
  1011.  
  1012. /* method: somIsA */
  1013. boolean   somIsA(SOMClass* aClassObj)
  1014. {
  1015.    return SOM_ResolveD(this,HIPanel,SOMObject,somIsA)
  1016.     (this,aClassObj);
  1017. }
  1018.  
  1019. /* method: somRespondsTo */
  1020. boolean   somRespondsTo(somId mId)
  1021. {
  1022.    return SOM_ResolveD(this,HIPanel,SOMObject,somRespondsTo)
  1023.     (this,mId);
  1024. }
  1025.  
  1026. /* method: somIsInstanceOf */
  1027. boolean   somIsInstanceOf(SOMClass* aClassObj)
  1028. {
  1029.    return SOM_ResolveD(this,HIPanel,SOMObject,somIsInstanceOf)
  1030.     (this,aClassObj);
  1031. }
  1032.  
  1033. /* va_list method: somDispatch */
  1034. /* the va_list invocation form */
  1035. boolean   HIPanel_somDispatch(somToken* retValue,
  1036.         somId methodId,
  1037.         va_list ap)
  1038. {
  1039.    return SOM_ResolveD(this,HIPanel,SOMObject,somDispatch)
  1040.     (this,retValue,methodId,ap);
  1041. }
  1042.  
  1043. /* the varargs invocation form */
  1044. boolean   somDispatch(somToken* retValue,
  1045.         somId methodId,
  1046.         ...)
  1047. {
  1048.    va_list ap;
  1049.    va_start(ap, methodId);
  1050.       boolean __somResult = 
  1051.       (boolean) SOM_ResolveD(this,HIPanel,SOMObject,somDispatch)
  1052.     (this,retValue,methodId,ap);
  1053.    va_end(ap);
  1054.    return __somResult;
  1055. }
  1056.  
  1057. /* va_list method: somClassDispatch */
  1058. /* the va_list invocation form */
  1059. boolean   HIPanel_somClassDispatch(SOMClass* clsObj,
  1060.         somToken* retValue,
  1061.         somId methodId,
  1062.         va_list ap)
  1063. {
  1064.    return SOM_ResolveD(this,HIPanel,SOMObject,somClassDispatch)
  1065.     (this,clsObj,retValue,methodId,ap);
  1066. }
  1067.  
  1068. /* the varargs invocation form */
  1069. boolean   somClassDispatch(SOMClass* clsObj,
  1070.         somToken* retValue,
  1071.         somId methodId,
  1072.         ...)
  1073. {
  1074.    va_list ap;
  1075.    va_start(ap, methodId);
  1076.       boolean __somResult = 
  1077.       (boolean) SOM_ResolveD(this,HIPanel,SOMObject,somClassDispatch)
  1078.     (this,clsObj,retValue,methodId,ap);
  1079.    va_end(ap);
  1080.    return __somResult;
  1081. }
  1082.  
  1083. /* method: somCastObj */
  1084. boolean   somCastObj(SOMClass* cls)
  1085. {
  1086.    return SOM_ResolveD(this,HIPanel,SOMObject,somCastObj)
  1087.     (this,cls);
  1088. }
  1089.  
  1090. /* method: somResetObj */
  1091. boolean   somResetObj()
  1092. {
  1093.    return SOM_ResolveD(this,HIPanel,SOMObject,somResetObj)
  1094.     (this);
  1095. }
  1096.  
  1097. /* method: somPrintSelf */
  1098. SOMObject*   somPrintSelf()
  1099. {
  1100.    return SOM_ResolveD(this,HIPanel,SOMObject,somPrintSelf)
  1101.     (this);
  1102. }
  1103.  
  1104. /* method: somDumpSelf */
  1105. void   somDumpSelf(long level)
  1106. {
  1107.    SOM_ResolveD(this,HIPanel,SOMObject,somDumpSelf)
  1108.     (this,level);
  1109. }
  1110.  
  1111. /* method: somDumpSelfInt */
  1112. void   somDumpSelfInt(long level)
  1113. {
  1114.    SOM_ResolveD(this,HIPanel,SOMObject,somDumpSelfInt)
  1115.     (this,level);
  1116. }
  1117.  
  1118. };   /* HIPanel */
  1119.  
  1120.  
  1121.  
  1122. #endif       /* SOM_HIPanel_xh */
  1123.